package project.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import project.model.Room;


/**
 * To prevent "not found for dependency: expected at least 1 bean which qualifies as autowire candidate" in DAO layer
 * we can assign the annotation '@Repository' to its implementation class(instead of attaching it to the interface)  
 * @author Hastings
 *
 */
@Repository
public class RoomDAOImpl implements RoomDAO {

	@Override
	public Room findById(int id) {
		return null;
	}

	@Override
	public List<Room> findByName(String name) {
		return null;
	}

}
